翻訳と辞書
Words near each other
・ X Image Extension
・ X Input Method
・ X International AIDS Conference, 1994
・ X Is Loaded
・ X Isle
・ X Japan
・ X Japan Clips II
・ X Japan discography
・ X Japan Returns 1993.12.30
・ X Japan Returns 1993.12.31
・ X keyboard extension
・ X League
・ X link domain
・ X linked thrombocytopenia
・ X logical font description
X Macro
・ X mark
・ X Marks Destination
・ X Marks the Pedwalk
・ X marks the spot
・ X Marks the Spot (1931 film)
・ X Marks the Spot (1942 film)
・ X Marks the Spot (game show)
・ X Minus One
・ X Motor Racing
・ X Movement
・ X My Heart
・ X Neural Switcher
・ X Offender
・ X Party


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

X Macro : ウィキペディア英語版
X Macro
X Macro is a technique in the C and C++ programming languages for generating repeating code structures at compile time. It is used when the same operation has to be executed for a list of items, but regular for loops cannot be used.
Usage of X Macros dates back to 1960's.〔Meyers, Randy. (''The New C: X Macros'' ). Dr.Dobb's 2001.〕 It remains useful also in modern-day C and C++, but is nevertheless relatively unknown.〔Bright, Walter. (''The X Macro'' ). Dr.Dobb's 2010〕
〔Lucas, Andrew. (''Reduce C-language coding errors with X macros'' ). Embedded.com 2013.〕
==Implementation==
An X-macro consists of two parts: the list, and the execution of the list. The list is just a #define construct which generates no code by itself. The execution of the list provides another #define macro, which is expanded for each entry in the list.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「X Macro」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.